package com.hetao.jmb2c.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "角色管理", description = "后台角色分组管理接口")
@RestController
@RequestMapping("/adminRole")
public class AdminRoleController {

    /*
     * 待开发接口示例：
     * 
     * 1. 创建角色
     * @PostMapping
     * public Result createRole(@RequestBody RoleCreateDTO dto)
     * 
     * 2. 分配权限
     * @PutMapping("/{roleId}/permissions")
     * public Result assignPermissions(@PathVariable Long roleId, @RequestBody List<Long> permissionIds)
     * 
     * 3. 获取角色列表
     * @GetMapping
     * public Result<List<RoleVO>> listRoles()
     */
}
